<!doctype html>
<html lang="{{ trans('messages.welcome') }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>andro-@yield('title')</title>

<!-- SSLの場合 -->
@if(app('env')=='production')
<link rel="stylesheet" href="{{ secure_asset('/css/pure-min.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/css/main.css') }}">
<script src="{{ secure_asset('/js/home.js') }}"></script>
<link rel="stylesheet" href="{{ secure_asset('/bootstrap/css/bootstrap.css') }}">
<link rel="stylesheet" href="{{ secure_asset('/bootstrap/css/bootstrap-datetimepicker.min.css') }}">
<script src="{{ secure_asset('/js/jquery-3.3.1.min.js') }}"></script>
<script src="{{ secure_asset('/bootstrap/js/bootstrap.js') }}"></script>
<script src="{{ secure_asset('/js/moment.min.js') }}"></script>
<script src="{{ secure_asset('/bootstrap/js/bootstrap-datetimepicker.min.js') }}"></script>
<script src="{{ secure_asset('/layer/layer.js') }}"></script>
<script src="{{ secure_asset('/js/sy_common.js') }}"></script>

@else
<!-- SSLではない場合 -->
<link rel="stylesheet" href="{{ asset('/css/pure-min.css') }}">
<link rel="stylesheet" href="{{ asset('/css/main.css') }}">
<script src="{{ asset('/js/home.js') }}"></script>
<link rel="stylesheet" href="{{ asset('/bootstrap/css/bootstrap.css') }}">
<link rel="stylesheet" href="{{ asset('/bootstrap/css/bootstrap-datetimepicker.min.css') }}">
<script src="{{ asset('/js/jquery-3.3.1.min.js') }}"></script>
<script src="{{ asset('/bootstrap/js/bootstrap.js') }}"></script>
<script src="{{ asset('/js/moment.min.js') }}"></script>
<script src="{{ asset('/bootstrap/js/bootstrap-datetimepicker.min.js') }}"></script>
<script src="{{ asset('/layer/layer.js') }}"></script>
<script src="{{ asset('/js/sy_common.js') }}"></script>

@endif

</head>

<body>
	<div>
		<div id="common_layout">
		@include('layouts.system_title')
		@include('layouts.system_tab')
		</div>
		<div class="container">
		<!--  継承Layout -->
			@yield('content')
		</div>

	</div>
</body>
</html>
